package demo3;

import java.util.Arrays;

public class Room {
	private int RoomNumber; // 实验室编号
	private String RoomName; // 实验室名称
	private String[] CleanlinessScore; // 实验室卫生评分

	public Room() {
	}

	public Room(int roomNumber, String roomName) {
		RoomNumber = roomNumber;
		RoomName = roomName;
	}

	// 以下是一堆get和set方法
	public int getRoomNumber() {
		return RoomNumber;
	}

	public void setRoomNumber(int roomNumber) {
		RoomNumber = roomNumber;
	}

	public String getRoomName() {
		return RoomName;
	}

	public void setRoomName(String roomName) {
		RoomName = roomName;
	}

	public String[] getCleanlinessScore() {
		return CleanlinessScore;
	}

	public void setCleanlinessScore(String[] cleanlinessScore) {
		CleanlinessScore = cleanlinessScore;
	}

	// toString输出实验室信息
	@Override
	public String toString() {
		return "实验室编号：" + RoomNumber +"实验室名称：" + RoomName +" 实验室卫生评分：" + Arrays.toString(CleanlinessScore);
	}

}